package com.admin.domain.repository;

import com.admin.domain.modle.Advert;

import java.util.List;


/**
 * description 广告
 * User: WeiDa
 * Date: 2017-4-11
 * Time: 16:45
 */
public interface AdvertRepository {

    void add(Advert advert);

    void update(Advert advert);

    Advert get(String code);

    List<Advert> list(String code);

    void remove(String code);


}
